package com.geovis.emergency.spd.biz.filing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.geovis.emergency.spd.entity.filing.entity.TbPlanFilings;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author 曾德实
 * @since 2023-08-14
 */
public interface TbPlanFilingsMapper extends BaseMapper<TbPlanFilings> {
    /**
     * 校验部门是否关联某个预案备案
     * @param unitId
     * @return
     */
    Integer countFilingUnits(@Param("unitId") String unitId);
}
